#pragma once


#include "Pages/EditorPageViewModel.h"
#include "EditorTexturePageModel.h"
#include "EditorTexturePageViewModel.m.h"

class RScene;

RCLASS()
class REditorTexturePageViewModel : public REditorPageViewModel 
{
    ROBJECT

public:
    void BindModel(TSharedObjectPtr<REditorPageModel> InModel) override;
    TSharedObjectPtr<RTexture2D> GetIcon() const override;
    CString GetTitle() const override;


protected:
    TSharedObjectPtr<RTexture2D> Icon;
    TWeakObjectPtr<REditorTexturePageModel> Model;


public:
    TSharedObjectPtr<RTexture2D> GetTexture() const;
};
